package com.sea.physical.mapper;

import com.sea.physical.entity.Coefficient;
import com.sea.physical.entity.CoefficientSku;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CoefficientSkuMapper {

    /**
     * 多条件查询
     * @param coefficientSku
     * @return
     */
    List<CoefficientSku> findByCnd(CoefficientSku coefficientSku);

    CoefficientSku findBySku(@Param("coefficientSku") String coefficientSku, @Param("coefficientChannelName") String coefficientChannelName);

    Integer insert(CoefficientSku coefficientSku);

    Integer updateCoefBySku(CoefficientSku coefficientSku);

    Integer delete(Integer id);

}
